//
// Created on 2024/3/18.
//
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".

#include "OhosWebviewHandler.h"
WebviewHandler *WebviewHandler::instance = nullptr;
OhosWebviewHandler::OhosWebviewHandler(){
    instance = this;
}

void OhosWebviewHandler::onShouldStartLoadingEvent(int32_t id, const char *url){
    // TODO 
}

void OhosWebviewHandler::onFinishLoadingEvent(int32_t id, const char *url) {
    // TODO 
}

void OhosWebviewHandler::onFailLoadingEvent(int32_t id, const char *url) {
    // TODO 
}

void OhosWebviewHandler::onJsCallbackEvent(int32_t id, const char *url) {
    // TODO 
}